# coding=utf-8
'''
Created on 2018年4月7日

@author: lijie
'''
from library.page_element.sample.index_search_page import TxtSearch, BtnSearch
class IndexSearchPage:
    def __init__(self,dr):
        self.dr=dr
    
    def set_search_info(self,search_str):
        TxtSearch(self.dr).input(search_str)
        
    def submit_search(self):
        BtnSearch(self.dr).click()